<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<link href="CSS/default.css" rel="stylesheet" type="text/css" />
		<link rel="stylesheet" type="text/css" href="Themes/default/easyui.css" />
		<link rel="stylesheet" type="text/css" href="CSS/demo.css">
		<link rel="stylesheet" type="text/css" href="Themes/icon.css" />
		<style type="text/css">
			.l-btn-text {
				font-size: 15px;
			}
			.l-btn-plain {
				width: 120px;
			}
		</style>
	</head>

	<body style="padding:0px" onresize="resizeHeight()">
		<table width="100%">
			<tr>
				<td width="20%"><img src="images/GSlogo.png" width="80%" height="auto"></td>
				<td id="td_menu" style="padding-left: 20px;">
				</td>
				<td id="td_user">
					<a id="user_name" class="easyui-menubutton" data-options="menu:'#mm_user',iconCls:'icon-man'"></a>
					<div id="mm_user">
						<div id="changePasswd" data-options="iconCls:'icon-edit'">修改密码</div>
						<div id="logout" data-options="iconCls:'icon-cancel'" onclick="logout()">退出登录</div>
					</div>
				</td>
			</tr>
		</table>
		<iframe id="ifrmList" src="content.html" frameborder="0" width="100%"></iframe>
		<div id="div_menu"></div>
		<div id="dlg" class="easyui-dialog" closed="true" style="width:600px;height:300px;padding:10px">
			<iframe id="ifrmEdit" height="100%" width="100%" frameborder="0" scrolling="no"></iframe>
		</div>
	</body>
	<script type="text/javascript" src="JS/jquery.min.js"></script>
	<script type="text/javascript" src="JS/jquery.easyui.min.js"></script>
	<script type="text/javascript" src='JS/common.js'></script>
	<script type="text/javascript" src='JS/SHA-1.js'></script>
	<script type="text/javascript" src='JS/Role/RoleFunction.js'></script>
	<script type="text/javascript" src='JS/Remind/RemindShare.js'></script>
	<script type="text/javascript">
		var PWDDialog;
		$(document).ready(function() {
			var height = document.documentElement.clientHeight - 65;
			document.getElementById("ifrmList").height = height + "px";
			$(".panel-body").css("background-color", "#D2E0F2");

			//点击退出登录执行

			//点击修改密码执行
			$("#changePasswd").click(function() {
				var pLocation = "UI/Common/Login/modiPassword.html";
				$("#ifrmEdit").attr("src", pLocation);
				createPWDDialog();
				PWDDialog.dialog('open');
			});
		});

		function createPWDDialog() {
			var html = $("#dlg").html();
			PWDDialog = window.$(html).appendTo(window.top.document.body);
			PWDDialog.dialog({
				modal: true,
				title: "修改密码",
				cache: true,
				closable: true,
				draggable: true,
				width: 350,
				height: 380,
			}).dialog('close');
		}

		function logout() {
			var _url = RemoteLinkAddress + "/logout.do";
			$.ajax({
				dataType: 'JSON',
				url: _url,
				type: "POST",
				success: function(result) {
					ClearLocalStorge(); //清除所有的存储信息
					location.href = "UI/Common/Login/login.html";
				},
				error: function(result) {
					$.messager.alert("失败", "失败");
				}
			});
		}

		var _menus = {
			basic: [{
				"menuid": "1",
				"menuname": "物流管理",
				"icon": "icon-logistic",
				"menus": [{
						"menuid": "011",
						"menuname": "原始单据",
						"menus": [{
							"menuid": "0111",
							"menuname": "网络订单",
							"url": "UI/LOGISTICS/WebOrder/WebOrderAdd.html"
						}, {
							"menuid": "0112",
							"menuname": "原始单据",
							"url": "UI/LOGISTICS/OriginalOrder/OriginalOrderAdd.html"
						}]
					}, {
						"menuid": "012",
						"menuname": "采购流程",
						"icon": "icon-logistic",
						"menus": [{
							"menuid": "0121",
							"menuname": "销售订单",
							"url": "UI/LOGISTICS/SellOrder/SellOrderAdd.html"
						}, {
							"menuid": "0122",
							"menuname": "采购单",
							"url": "UI/LOGISTICS/PurchaseOrder/PurchaseOrderSearch.html"
						}, {
							"menuid": "0123",
							"menuname": "入库单",
							"url": "UI/LOGISTICS/WareHouseSchedule/WareHouseScheduleSearch.html"
						}, ]
					}, {
						"menuid": "013",
						"menuname": "销售流程",
						"menus": [{
							"menuid": "0131",
							"menuname": "销售单",
							"url": "UI/LOGISTICS/SalesOrder/SalesOrderSearch.html"
						}, {
							'menuid': "0132",
							"menuname": "出库单",
							"url": "UI/LOGISTICS/WareHouseOutOrder/WareHouseOutOrderSearch.html"
						}, {
							'menuid': "0133",
							"menuname": "配送管理",
							"url": "UI/LOGISTICS/DeliverManagementOrder/DeliverManagementOrderSearch.html"
						}, {
							'menuid': "0134",
							"menuname": "销售结算",
							"url": "UI/LOGISTICS/SalesSettlementOrder/SalesSettlementSearch.html"
						}, ]
					}, {
						"menuid": "014",
						"menuname": "库房管理",
						"menus": [{
							'menuid': "0141",
							"menuname": "库存盘点",
							"url": "UI/LOGISTICS/InventoryOrder/InventoryOrderAdd.html"
						}, {
							'menuid': "0142",
							"menuname": "冲销帐",
							"url": "UI/LOGISTICS/WriteOff/WriteOffAdd.html"
						}, {
							"menuid": "0143",
							"menuname": "移库单",
							"url": "UI/LOGISTICS/StockTransferOrder/StockTransferOrderAdd.html"
						}, ]
					}, {
						"menuid": "015",
						"menuname": "物流管理日志",
						"menus": [{
							'menuid': "0151",
							"menuname": "订单日志",
							"url": "UI/LOGISTICS/ExecuteOrder/ExecuteOrderList.html"
						}, {
							'menuid': "0152",
							"menuname": "修改记录",
							"url": "UI/LOGISTICS/Log/LogSearch.html"
						}, ]
					},
					{
						"menuid": "015",
						"menuname": "价格维护",
						"menus": [{
							'menuid': "0151",
							"menuname": "后定价价格维护",
							"url": "UI/LOGISTICS/BasicInformationPrice/BasicInformationPriceAdd.html"
						}, {
							'menuid': "0152",
							"menuname": "采购价格价格维护",
							"url": "UI/LOGISTICS/BasicInformationInPrice/BasicInformationInPriceAdd.html"
						}, ]
					},
				]
			}, {
				"menuid": "2",
				"menuname": "市场管理",
				"icon": "icon-market",
				"menus": [{
					"menuid": "021",
					"menuname": "商户管理",
					"menus": [{
						"menuid": "0211",
						"menuname": "固定商户管理",
						"url": "UI/Market/BusinessInformation/BusinessInformationSearch.html"
					}, {
						"menuid": "0212",
						"menuname": "小商户管理",
						"url": "UI/Market/SmallBusinessInformation/SmallBusinessInformationSearch.html"
					}]
				}, {
					"menuid": "022",
					"menuname": "合同管理",
					"menus": [{
						"menuid": "0221",
						"menuname": "合同管理",
						"url": "UI/Market/BIContract/BIContractSearch.html"
					},
					{
						"menuid": "0222",
						"menuname": "合同汇总",
						"url": "UI/Market/BoothManagement/BoothManagementStatistics.html"
					}]
				}, {
					"menuid": "023",
					"menuname": "摊位管理",
					"menus": [{
							"menuid": "0231",
							"menuname": "摊位管理",
							"url": "UI/Market/BoothManagement/BoothManagementSearch.html"
						},
						{
							"menuid": "0231",
							"menuname": "摊位卡证管理",
							"url": "UI/Market/BoothCard/BoothCardList.html"
						}
					]
				}, {
					"menuid": "024",
					"menuname": "事件管理",
					"menus": [{
						"menuid": "0241",
						"menuname": "突发事件",
						"url": "UI/Market/EmergentEventManagement/EmergentEventsAdd.html"
					}, {
						"menuid": "0242",
						"menuname": "退市事件",
						"url": "UI/Market/DelistEventManagement/DelistEventManagementAdd.html"
					}, {
						"menuid": "0243",
						"menuname": "纠纷事件",
						"url": "UI/Market/DisputeEventManagement/DisputeEventManagementAdd.html"
					}, {
						"menuid": "0244",
						"menuname": "商户表彰",
						"url": "UI/Market/CommendEventManagement/CommendEventsAdd.html"
					}, {
						"menuid": "0245",
						"menuname": "商户违章",
						"url": "UI/Market/PeccancyEventManagement/PeccancyEventManagementAdd.html"
					}]
				}, {
					"menuid": "025",
					"menuname": "设备管理",
					"menus": [{
						"menuid": "0251",
						"menuname": "设备管理",
						"url": "UI/Market/EquipmentManagement/EquipmentManagementSearch.html"
					}, {
						"menuid": "0252",
						"menuname": "设备维护",
						"url": "UI/Market/EquipmentRepairManagement/EquipmentRepairManagementAdd.html"
					}, ]
				}, {
					"menuid": "026",
					"menuname": "收费管理",
					"menus": [{
						"menuid": "0261",
						"menuname": "收费管理",
						"url": "UI/Market/Receipt/receiptAdd.html"
					}]
				}, {
					"menuid": "027",
					"menuname": "市场地图",
					"menus": [{
						"menuid": "0271",
						"menuname": "主地图",
						"url": "UI/Market/MAP/MarketMap.html"
					}, {
						"menuid": "0272",
						"menuname": "蔬菜区地图",
						"url": "UI/Market/MAP/Map_2_1.html"
					}, {
						"menuid": "0273",
						"menuname": "水果区地图",
						"url": "UI/Market/MAP/Map_2_2.html"
					}]
				}, {
					"menuid": "028",
					"menuname": "关怀系统",
					"menus": [{
						"menuid": "0281",
						"menuname": "即时短信",
						"url": "UI/Market/SMSInTime/SMSInTimeList.html"
					}, {
						"menuid": "0282",
						"menuname": "定时短信",
						"url": "UI/Market/SMSScheduler/SMSSchedulerList.html"
					}, {
						"menuid": "0282",
						"menuname": "短信模板",
						"url": "UI/Market/SMSModule/SMSModuleList.html"
					}, {
						"menuid": "0282",
						"menuname": "短信发送情况",
						"url": "UI/Market/SMSScheduler/SMSScheduleSendList.html"
					}, ]
				}, {
					"menuid": "029",
					"menuname": "食品安全",
					"menus": [{
						"menuid": "0291",
						"menuname": "安全事件",
						"url": "UI/Market/FoodSecurityManagement/FoodSecurityManagementSearch.html"
					}, {
						"menuid": "0292",
						"menuname": "抽查周期",
						"url": "UI/Market/FoodSecurityCycle/FoodSecurityCycleList.html"
					}]
				}]
			}, {
				"menuid": "3",
				"menuname": "气调库管理",
				"icon": "icon-frozencave",
				"menus": [{
					"menuid": "031",
					"menuname": "库房管理",
					"menus": [{
						"menuid": "0311",
						"menuname": "库房信息",
						"url": "UI/FrozenCave/StoreHouseInformation/StoreHouseInformationSearch.html"
					}, {
						"menuid": "0312",
						"menuname": "租赁操作",
						"url": "UI/FrozenCave/LeasingOperation/LeasingOperationList.html"
					}, {
						"menuid": "0313",
						"menuname": "库房维修维护",
						"url": "UI/FrozenCave/StoreHouseRepair/StoreHouseRepairAdd.html"
					}, {
						"menuid": "0314",
						"menuname": "包库管理",
						"url": "UI/FrozenCave/PackageStoreHouse/PackageStoreHouseSearch.html"
					},
					 {
						"menuid": "0314",
						"menuname": "库房温度记录表",
						"url": "UI/FrozenCave/WarehouseTemperature/WarehouseTemperatureList.html"
					},
					
					]
				}, {
					"menuid": "032",
					"menuname": "租户管理",
					"menus": [{
						"menuid": "0321",
						"menuname": "租户基础信息",
						"url": "UI/FrozenCave/TenantInformation/TenantInformationSearch.html"
					}, {
						"menuid": "0322",
						"menuname": "租户明细账",
						"url": "UI/FrozenCave/TenantCharge/TenantChargeSearch.html"
					}]
				}]
			}, {
				"menuid": "4",
				"menuname": "基础信息",
				"icon": "icon-information",
				"menus": [{
					"menuid": "041",
					"menuname": "物流基础信息",
					"menus": [{
							"menuid": "0411",
							"menuname": "供货单位",
							"url": "UI/LOGISTICS/BasicInformation/BasicInformationSupplyUnitList.html"
						}, {
							"menuid": "0412",
							"menuname": "商品转换表",
							"url": "UI/LOGISTICS/BasicInformation/BasicInformationConvertTableList.html"
						}, {
							"menuid": "0413",
							"menuname": "订货单位",
							"url": "UI/LOGISTICS/BasicInformation/BasicInformationOrderUnitList.html"
						}, {
							"menuid": "0414",
							"menuname": "内部商品管理",
							"url": "UI/LOGISTICS/BasicInformation/BasicInformationInternalProductGradingList.html"
						}, {
							"menuid": "0414",
							"menuname": "内部商品类型",
							"url": "UI/Market/DictData/DictDataAdd.html?id=internaltradetype"
						}, {
							"menuid": "0418",
							"menuname": "用户组",
							"url": "UI/Market/DictData/DictDataAdd.html?id=customertype"
						}, {
							"menuid": "0419",
							"menuname": "库房名称",
							"url": "UI/Market/DictData/DictDataAdd.html?id=logisticsstorehouse"
						}, {
							"menuid": "0420",
							"menuname": "商品质量",
							"url": "UI/Market/DictData/DictDataAdd.html?id=logisticslevel"
						},
						{
							"menuid": "0420",
							"menuname": "配送类型",
							"url": "UI/Market/DictData/DictDataAdd.html?id=delivertype"
						},
					]

				}, {
					"menuid": "042",
					"menuname": "市场基础信息",
					"menus": [{
							"menuid": "0421",
							"menuname": "卡证信息",
							"url": "UI/Market/DictData/DictDataAdd.html?id=boostcard"
						}, {
							"menuid": "0282",
							"menuname": "短信设置",
							"url": "UI/Market/SMSModule/SMSConfig.html"
						}, {
							"menuid": "0282",
							"menuname": "责任书",
							"url": "UI/Market/DictData/DictDataAdd.html?id=duty"
						}, {
							"menuid": "0282",
							"menuname": "短期合同名称",
							"url": "UI/Market/DictData/DictDataAdd.html?id=shorttype"
						}, {
							"menuid": "0282",
							"menuname": "合同类型",
							"url": "UI/Market/DictData/DictDataAdd.html?id=contracttype"
						}, {
							"menuid": "0282",
							"menuname": "市场收费类型",
							"url": "UI/Market/DictData/DictDataAdd.html?id=marketchargetype"
						}, {
							"menuid": "0282",
							"menuname": "营业执照类型",
							"url": "UI/Market/DictData/DictDataAdd.html?id=businesslicensetype"
						}, {
							"menuid": "0282",
							"menuname": "设备类型",
							"url": "UI/Market/DictData/DictDataAdd.html?id=devicetype"
						},
						{
							"menuid": "0282",
							"menuname": "市场区域类型",
							"url": "UI/Market/DictData/DictDataAdd.html?id=regiontype"
						},
						{
							"menuid": "0282",
							"menuname": "摊位收费标准",
							"url": "UI/Market/BoothChargeRatio/BoothChargeRatioSearch.html"
						}, {
							"menuid": "0282",
							"menuname": "市场区域名称",
							"url": "UI/Market/Region/RegionAdd.html"
						}
					]
				}, {
					"menuid": "043",
					"menuname": "气调库基础信息",
					"menus": [{
						"menuid": "0431",
						"menuname": "气调库收费类型",
						"url": "UI/Market/DictData/DictDataAdd.html?id=frozenchargetype"
					}, {
						"menuid": "0431",
						"menuname": "气调库收费标准",
						"url": "UI/FrozenCave/FrozenChargeRatio/FrozenChargeRatioSearch.html"
					}, {
						"menuid": "0282",
						"menuname": "库房维护类型",
						"url": "UI/Market/DictData/DictDataAdd.html?id=repairtype"
					}, {
						"menuid": "0283",
						"menuname": "气调库内部商品管理",
						"url": "UI/FrozenCave/InternalGoods/InternalGoodsSearch.html"
					}]
				}]
			}, {
				"menuid": "5",
				"menuname": "基础设置",
				"icon": "icon-usermanagement",
				"menus": [{
					"menuid": "051",
					"menuname": "用户权限",
					"menus": [{
						"menuid": "0512",
						"menuname": "角色管理",
						"url": "UI/Common/roleManager/roleManagerList.html"
					}, {
						"menuid": "0513",
						"menuname": "用户管理",
						"url": "UI/Common/UserManager/UserList.html"
					}, {
						"menuid": "0415",
						"menuname": "部门信息",
						"url": "UI/Market/DictData/DictDataAdd.html?id=department"
					}, {
						"menuid": "0415",
						"menuname": "系统设置",
						"url": "UI/Common/Set/Set.html"
					}, ]
				}, {
					"menuid": "052",
					"menuname": "菜单管理",
					"menus": [{
						"menuid": "0521",
						"menuname": "菜单配置",
						"url": "UI/Common/Menu/MenuList.html"
					}, ]
				}]
			}, ]
		};

		getCurrUser();
		getMenuData();
		var _menudata;
		if(localStorage.getItem('menu') != null) {
			
			_menudata = JSON.parse(localStorage.getItem('menu'));
		} else {
			_menudata = _menus;
		}
		CreateMenu(_menudata);
		Remind(); //获取提醒数据

		function CreateMenu(_data) {
			/////构建第一级菜单
			var s = _data.basic;
			var content = "";
			var menuid = "";
			var maincontent = "";
			maincontent += "<div class='easyui-panel' style='padding:5px; border-style:none;'>";
			for(var i = 0; i < s.length; i++) {
				menuid = "#mm" + s[i].menuid;
				maincontent += "<a href='#'   class='easyui-menubutton' data-options=\"menu:'" + menuid + "',iconCls:'" + s[i].icon + "'\">" + s[i].menuname + "</a>";
			}
			maincontent += "</div>";
			////构建下级菜单
			$("#td_menu").append(maincontent);
			for(var i = 0; i < s.length; i++) {
				menuid = "mm" + s[i].menuid;
				content += "<div name="+ _parentname +" id=\"" + menuid + "\" style='width:150px;display:none;' class=\"easyui-menu\" data-options=\"onClick:menuHandler\">";
				if(s[i].menus != undefined) {
					var m = s[i].menus;
					for(var j = 0; j < m.length; j++) {
						if(m[j].menus != undefined) //有子节点的情况
						{
							content += "<div>";
							content += "<span>" + m[j].menuname + "</span>";
							content += "<div>";
							for(k = 0; k < m[j].menus.length; k++) {
								content += "<div name='" + m[j].menus[k].url + "'>" + m[j].menus[k].menuname + "</div>";
							}
							content += "</div>";
							content += "</div>";
						} else {
							var _parentname = m[j].url;
							content += "<div name="+ _parentname +">" + m[j].menuname + "</div>";
						}

					}
				}
				content += "</div>";
			}
			$("#div_menu").append(content);
		}

		function menuHandler(item) {
			if(item.name != "" && item.name != undefined) {
				AddTabIn(item.text, $("#ifrmList")[0].contentWindow.$("#tabs"), item.name);
			} else {
				$.messager.alert("提示", "没有相关操作");
			}
		}

		function resizeHeight() {
			var height = document.documentElement.clientHeight - 65;
			document.getElementById("ifrmList").height = height + "px";
		}

		var oldMenuData = new Object();
		var currMenuData = new Object();

		function getMenuData() {
			var _roledata = localStorage.getItem('role');
			if(_roledata != null) {
				oldMenuData = JSON.parse(_roledata);
				currMenuData = handleMenuData(oldMenuData.MENU);
				getMenuRight(oldMenuData.MENU);
				localStorage.setItem('menu', JSON.stringify(currMenuData));
			} else {
				console.log("没有登录信息");
			}
		}

		function getMenuRight(_data) {
			var _data = $.grep(_data, function(value) {
				return value.hasCha == true && value.MENU_TYPE == 3; //筛选出具有访问权限的菜单
			});
			var authorityList = new Array();
			var html_Name_List = ["List", "Add"];
			var _index = 0;
			for(var i = 0; i < _data.length; i++) {
				s = _data[i];
				if(s.MENU_ORDER != "") { //菜单模块不为空
					for(var j = 0; j < html_Name_List.length; j++) {
						authorityList[_index] = new Object();
						var m = authorityList[_index];
						m.name = s.MENU_ORDER + html_Name_List[j];
						m.parent = s.MENU_ORDER;
						m.hasAdd = s.hasAdd;
						m.hasEdit = s.hasEdit;
						m.hasDel = s.hasDel;
						m.hasSh = s.hasSh;
						m.hasQs = s.hasQs;
						m.hasDc = s.hasDc;
						m.hasDx = s.hasDx;
						_index = _index + 1;
					}
				}

			}
			localStorage.setItem('currRight', JSON.stringify(authorityList));
		}

		function handleMenuData(_data) {
			var _res = new Array();
			var FristLevelArray = $.grep(_data, function(value) {
				return value.PARENT_ID == 0 && value.hasCha == true; //筛选出大于5的
			});
			for(var i = 0; i < FristLevelArray.length; i++) {
				_res[i] = new Object();
				_res[i].menuid = FristLevelArray[i].ID;
				_res[i].menuname = FristLevelArray[i].MENU_NAME;
				_res[i].icon = FristLevelArray[i].MENU_ICON;
				var SecondLevelArray = $.grep(_data, function(value) {
					return value.PARENT_ID == FristLevelArray[i].ID && value.hasCha == true; //筛选出大于5的
				});
				if(SecondLevelArray.length > 0) {
					_res[i].menus = new Array();
					var _second = _res[i].menus;
					for(j = 0; j < SecondLevelArray.length; j++) {
						_second[j] = new Object();
						_second[j].menuid = SecondLevelArray[j].ID;
						_second[j].menuname = SecondLevelArray[j].MENU_NAME;
						if('MENU_URL' in SecondLevelArray[j] && SecondLevelArray[j].MENU_URL.length > 0){
							_second[j].url = SecondLevelArray[j].MENU_URL;
						}
						var ThirdLeverArray = $.grep(_data, function(value) {
							return value.PARENT_ID == SecondLevelArray[j].ID && value.hasCha == true; //筛选出大于5的
						});
						if(ThirdLeverArray.length > 0) {
							_second[j].menus = new Array();
							var _third = _second[j].menus;
							for(m = 0; m < ThirdLeverArray.length; m++) {
								_third[m] = new Object();
								_third[m].menuid = ThirdLeverArray[m].ID;
								_third[m].menuname = ThirdLeverArray[m].MENU_NAME;
								_third[m].url = ThirdLeverArray[m].MENU_URL;
							}
						}

					}
				}
			}
			var _finalData = new Object();
			_finalData.basic = _res;
			return _finalData;
		}

		function Remind() {
			var s = getRemindData();
			var str = "";
			for(var i = 0; i < s.length; i++) {
				if(s[i].recordNum > 0) {
					str += "<div>" + s[i].title + "<a onclick=\"openRemindMsg(" + s[i].id + ")\">" + s[i].recordNum + "条到期通知</a>";
				}
			}
			if(str == "") {
				str = "没有到期通知";
			}
			$.messager.show({
				title: '到期通知',
				msg: str,
				timeout: 5000,
				showType: 'slide'
			});
		}

		function openRemindMsg(type) {
			var s = getRemindData();
			m = s[type];
			AddTabIn(m.title, $("#ifrmList")[0].contentWindow.$("#tabs"), m.url);
		}

		function getCurrUser() {
			var _data = localStorage.getItem('currUser');
			if(_data != null) {
				_userdata = JSON.parse(_data);
				$("#user_name").html(_userdata.USERNAME);
			}
		}

//		window.onbeforeunload = function() {
//			if(window.event.clientY < 0 || window.event.altKey) {
//				$.messager("警告","你关闭了浏览器");
//			} else {
//				$.messager.alert("警告","刷新页面");
//				ClearLocalStorge();
//			}
//		};

		function ClearLocalStorge() {
			localStorage.removeItem('check'); //周期检查到期提醒
			localStorage.removeItem('contractBoost');
			localStorage.removeItem('contractShort');
			localStorage.removeItem('frozen');
			localStorage.removeItem('currUser'); //当前用户信
			localStorage.removeItem('role'); //存储当前用户的权限信息
			localStorage.removeItem('currRight');
		}
	</script>

</html>